/ /   K h i   m    c a   p h n   h e a d 
 
 
 
         v a r   s t a r   =   { } ; 
 
         
 
         s t a r [ " P o l a r i s " ]   =   n e w   O b j e c t ; 
 
         s t a r [ " M i z a r " ]   =   n e w   O b j e c t ; 
 
         s t a r [ " A l d e b a r a n " ]   =   n e w   O b j e c t ; 
 
         s t a r [ " R i g e l " ]   =   n e w   O b j e c t ; 
 
         
 
         s t a r [ " P o l a r i s " ] . c o n s t e l l a t i o n   =   " U r s a   M i n o r " ; 
 
         s t a r [ " M i z a r " ] . c o n s t e l l a t i o n   =   " U r s a   M a j o r " ; 
 
         s t a r [ " A l d e b a r a n " ] . c o n s t e l l a t i o n   =   " T a u r u s " ; 
 
         s t a r [ " R i g e l " ] . c o n s t e l l a t i o n   =   " O r i o n " ; 
 
 
 
 / /   K h i   m    c a   p h n   b o d y 
 
 
 
         f o r   ( s t a r N a m e   i n   s t a r )   { 
 
                 v a r   p a r a   =   d o c u m e n t . c r e a t e E l e m e n t ( ' p ' ) ; 
 
                 p a r a . i d   =   s t a r N a m e ; 
 
                 p a r a . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( s t a r N a m e   +   
 
                         " :   "   +   s t a r [ s t a r N a m e ] . c o n s t e l l a t i o n ) ) ; 
 
                 d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " b o d y " ) [ 0 ] . a p p e n d C h i l d ( p a r a ) ; 
 
         } 